﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using TaoPortal.BusinessLogic.Repository;

namespace TaoPortal.Skin.Models
{
    public class ProductModel
    {
        public dynamic Init(HttpApplication httpApplication)
        {
            dynamic dy = new System.Dynamic.ExpandoObject();
            var rp = new ProdRepository();
            dy.ProductList = rp.GetProdInfoList(null, null, null, null, null, null, null, null, null, 0, 10);
            dy.Application = httpApplication;
            dy.ProductCount = 100;
            return dy;
        }
    }
}
